//
//  UITextField+UI.h
//  Demo1222
//
//  Created by ZhouZhenFu on 16/1/6.
//  Copyright © 2016年 HzB. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UITextField (UI)

/** 根据y坐标创建一个 登陆样式的输入框*/
- (instancetype)initLoginTypeWithY:(CGFloat)y
                       placeholder:(NSString *)placeholder
                     leftImageName:(NSString *)leftImageName;
/** 根据y坐标创建一个 注册样式的输入框*/
- (instancetype)initReginTypeWithY:(CGFloat)y
                       placeholder:(NSString *)placeholder
                     leftImageName:(NSString *)leftImageName;
/** 根据y坐标创建一个 左边是label的输入框*/
- (instancetype)initLeftLabelTypeWithY:(CGFloat)y placeholder:(NSString *)placeholder leftLabelText:(NSString *)labelText;

/** 根据y坐标创建一个 左边是label的输入框 宽度为屏幕宽的输入框*/
- (instancetype)initMainWidthLabelTypeWithY:(CGFloat)y placeholder:(NSString *)placeholder leftLabelText:(NSString *)labelText;



//** 根据y坐标创建一个 普通输入框*/
- (instancetype)initNormalTypeWithY:(CGFloat)y placeholder:(NSString *)placeholder;
@end
